package com.xuerhua.yxt.dao;

import java.util.List;

import com.xuerhua.yxt.model.NoticeRecord;
import com.xuerhua.yxt.page.Page;
import com.xuerhua.yxt.reqVo.NoticeQueryVO;
import com.xuerhua.yxt.view.NoticeRecordView;

public interface NoticeRecordMapper {

    int insertSelective(NoticeRecord record);

    NoticeRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(NoticeRecord record);

    NoticeRecordView selectByParam(NoticeQueryVO vo);
    
    List<NoticeRecordView> selectListByParam(NoticeQueryVO vo);
    
    List<NoticeRecordView> selectViewListByPage(Page<NoticeRecordView> page);
    
    List<NoticeRecord> selectListByPage(Page<NoticeRecord> page);
    
    List<NoticeRecordView> selectCountForSendee(NoticeQueryVO vo);
    
    NoticeRecordView selectViewByNoticeId(NoticeQueryVO vo);
    
    List<NoticeRecord> selectListForFileAroundByPage(Page<NoticeRecord> page);
    
    List<NoticeRecord> selectListForFileAroundByPage1(Page<NoticeRecord> page);
}